From 2a683a4dbb444c884fa5e4606b0364308a10d85c Mon Sep 17 00:00:00 2001 From: oliskoli Date: Sat, 18 Mar 2006 19:56:19 +0000 Subject: [PATCH] Fix segmentation fault (temp_buffer size adjusted). git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1774 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/tpo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/tpo.c b/gpsbabel/tpo.c index 80c8e46e1..d67d95bdf 100644 --- a/gpsbabel/tpo.c +++ b/gpsbabel/tpo.c @@ -724,7 +724,7 @@ tpo_track_disp(const waypoint *waypointp) static void tpo_track_tlr(const route_head *rte) { - unsigned char temp_buffer[2]; + unsigned char temp_buffer[4]; unsigned char unknown1[] = { 0x06, 0x00 }; -- 2.30.2